import { Directive, ElementRef } from '@angular/core';

@Directive({
  selector: '[appHide]',
})
export class HideDirective {
  // <li appHide>娅楠</li>
  constructor(el: ElementRef) {
    el.nativeElement.style.display = 'none';
  }
}
